package com.lanou.ptp.role_teacher;

import com.lanou3g.ptp.entity.RoleTeacher;

import java.util.List;

public interface RoleTeacherService {
//    添加一条数据
    void addRoleTeacher(RoleTeacher roleTeacher);
//    根据id删除一条数据
    void deleteById(Long id);
//    根据ids删除多条数据
    void deleteByIds(Integer[] ids);
//    根据id修改一条数据
    void updateById(RoleTeacher roleTeacher);
//    根据id查找一条数据
    RoleTeacher findById(Long id);
//    查找全部数据
    List<RoleTeacher> findAll();
//
    List<RoleTeacher> findByRoleId(Long roleId);
}
